package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试卷管理对象 test_paper
 * 
 * @author 默言.mc
 * @date 2024-10-07
 */
public class TestPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试卷id */
    private Long id;

    /** 试卷名称 */
    @Excel(name = "试卷名称")
    private String paperName;

    /** 学科 */
    @Excel(name = "学科")
    private String subjectId;

    /** 试卷类型 */
    @Excel(name = "试卷类型")
    private String paperType;

    /** 年级 */
    @Excel(name = "年级")
    private Long gradeLevel;

    /** 分数 */
    @Excel(name = "分数")
    private Long score;

    /** 题目数量 */
    @Excel(name = "题目数量")
    private Long questionCount;

    /** 建议时长 */
    @Excel(name = "建议时长")
    private Long suggestTime;

    /** 试卷开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "试卷开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitStartTime;

    /** 试卷结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "试卷结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date limitEndTime;

    /** 试卷创建者 */
    @Excel(name = "试卷创建者")
    private String createUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPaperName(String paperName) 
    {
        this.paperName = paperName;
    }

    public String getPaperName() 
    {
        return paperName;
    }
    public void setSubjectId(String subjectId) 
    {
        this.subjectId = subjectId;
    }

    public String getSubjectId() 
    {
        return subjectId;
    }
    public void setPaperType(String paperType) 
    {
        this.paperType = paperType;
    }

    public String getPaperType() 
    {
        return paperType;
    }
    public void setGradeLevel(Long gradeLevel) 
    {
        this.gradeLevel = gradeLevel;
    }

    public Long getGradeLevel() 
    {
        return gradeLevel;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setQuestionCount(Long questionCount) 
    {
        this.questionCount = questionCount;
    }

    public Long getQuestionCount() 
    {
        return questionCount;
    }
    public void setSuggestTime(Long suggestTime) 
    {
        this.suggestTime = suggestTime;
    }

    public Long getSuggestTime() 
    {
        return suggestTime;
    }
    public void setLimitStartTime(Date limitStartTime) 
    {
        this.limitStartTime = limitStartTime;
    }

    public Date getLimitStartTime() 
    {
        return limitStartTime;
    }
    public void setLimitEndTime(Date limitEndTime) 
    {
        this.limitEndTime = limitEndTime;
    }

    public Date getLimitEndTime() 
    {
        return limitEndTime;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("paperName", getPaperName())
            .append("subjectId", getSubjectId())
            .append("paperType", getPaperType())
            .append("gradeLevel", getGradeLevel())
            .append("score", getScore())
            .append("questionCount", getQuestionCount())
            .append("suggestTime", getSuggestTime())
            .append("limitStartTime", getLimitStartTime())
            .append("limitEndTime", getLimitEndTime())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }
}
